#define _CRT_SECURE_NO_WARNINGS 1

#include "Heap.h"

void main()
{
	int i = 0;
	Heap hp;
	int arr[] = { 27, 19, 15, 18, 34, 28, 49, 68, 25, 37 };
	int sz = sizeof(arr) / sizeof(arr[0]);
	HeapInit(&hp, arr, sz);
	for (i = 0; i < sz; i++)
	{
		printf("%d ", *(hp._a+i));
	}
	printf("\n");
	//HeapSort(&hp, sz);
	//for (i = 0; i < sz; i++)
	//{
	//	printf("%d ", *(hp._a + i));
	//}
	//printf("\n");
	//HeapPop(&hp);
	//HeapPush(&hp, 8);
	//for (i = 0; i < hp._size; i++)
	//{
	//	printf("%d ", *(hp._a + i));
	//}
	//printf("\n");
	////HeapPush(&hp, 17);
	////HeapPush(&hp, 8);
	////for (i = 0; i < hp._size; i++)
	////{
	////	printf("%d ", *(hp._a + i));
	////}
	////printf("\n");
	//HeapDestroy(&hp);
}